package com.adrian.mapper;

import com.adrian.pojo.Type;

import java.util.List;

/**
 * @Auther: Adrian
 * @Date: 2020/3/20 21:49
 * @Description:
 */
public interface ProductTypeMapper {
    public List<Type> getTypes();
    int addType(Type type);
    int updateType(Type type);
    Type getById(int tid);
    int deleteType(int tid);
}
